package com.li.shop.service.Impl;

import com.li.shop.domain.ProductDetails;
import com.li.shop.mapper.ProductDetailsMapper;
import com.li.shop.service.ProductDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductDetailsServiceImpl implements ProductDetailsService {
    @Autowired
    private ProductDetailsMapper productDetailsMapper;
    @Override
    public ProductDetails find(String id) {
        return productDetailsMapper.selectByPid(id);
    }
}
